home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 3 / Light ROM 3 - Disc 2.iso / programs / amiga / misc / terrain3.lzh / POSTER < prev   
Text File  |  1987-08-23  |  3KB  |  54 lines

  1. Article 6694 of comp.sys.amiga:
  2. Path: mcdsun!noao!hao!hull
  3. From: hull@hao.UCAR.EDU (Howard Hull)
  4. Newsgroups: comp.sys.amiga
  5. Subject: A Terrain Viewer with 3d relief
  6. Keywords: still a horrible mess, but now, voila! 3d relief
  7. Message-ID: <805@hao.UCAR.EDU>
  8. Date: 28 Jul 87 05:52:48 GMT
  9. Distribution: na
  10. Organization: High Altitude Obs./NCAR, Boulder CO
  11. Lines: 836
  12.  
  13. Ok for you, you turkeys!  I got ZERO, none, NO responses to my last plea
  14. for devine GURU guidance, and ended up with only the essence of the GURU
  15. for company.  So, having _partially_ solved the dynamically allocated array
  16. subroutine access problem, I am going to post here again, with "improvements".
  17.  
  18. This program (an essay, really, which is why it's posted here instead of
  19. the comp sources group) presents the Gray terrain generator _compleat_ with
  20. 3d relief, and with clarified graphics mode options.  Some day I will try,
  21. what is it you call it, AllocMem? - and see if it does anything better than
  22. calloc.
  23.  
  24. I will be brief this time.  If you are inclined to reply, read the code and
  25. see what it is I am complaining about.  I am posting a .uue this time, too,
  26. since the program does something that the Draco program doesn't (but easily
  27. could be coaxed to do).  When you fire this hummer up, be prepared to wait
  28. 30 seconds for it to generate the terrain after opening the screen.  The
  29. opening format will be 256 wide by 288 high (256 plus 32 for relief) and will
  30. be on an interlaced screen.  It is easily possible to configure it for 256 by
  31. 400 (384 plus 16 for relief), but there are some degradations of scale that
  32. seem to happen when you do that.  See instructions within the shar file.
  33. Take apart the shar in the usual way.  The compiler instructions are (this
  34. time no typos) using 16-bit int Manx:
  35.     cc atv3d.c
  36.     cc enq.c
  37.     ln atv3d.o enq.o -lc
  38. My circumstances are 512K Amiga 1000, Manx 3.40a patched to level c (if you
  39. have any patches for your 3.40a at all, you are probably patched this far.
  40.  
  41. Personally, after finally being able to see what his program puts out, I think
  42. Chris Gray is as much a genius as Slartibartfast.  Nonetheless, be warned, if
  43. you don't have about 200Kbytes of chip mem just wastefully sprawling about,
  44. this program will silently bail out and all you'll get is your next prompt.
  45. The next article posted will be the .uue file.
  46.  
  47. Good Luck...
  48.                         Best Regards,   Howard Hull
  49. [If yet unproven concepts are outlawed in the range of discussion...
  50.                  ...Then only the deranged will discuss yet unproven concepts]
  51.     {ucbvax!hplabs | decvax!noao | mcvax!seismo | ihnp4!seismo} !hao!hull
  52.     for domain mailers: hull@hao.ucar.edu
  53.  
  54.